structfeat

USAGE: structfeat infile [-s] [-L]

structfeat lists line structures, that is, objects
made up of one or many connected line segments.

ARGUMENTS:
    infile: input filename (PCC)

OPTIONS:
        -s: print summary only.
        -L: print Software License for this module
 

Example:

structfeat eTH.pcc

eTH.pcc: (generated by running thin e.tif eTH.tif, followed by pcc eTH.tif eTH.pcc)

Binary file (not displayable)

output:

image size: 36x36, PCC length = 37
4 level 1 line features
Structure Feature Summary:
        number of line structures = 1
        average number of lines per structure =   3.0
        average number of endlines per structure =   2.0
        average total line length per structure  91.0
        average maximum line length per structure =  42.0
        average bounding box size =  23.0 x  29.0, area = 667.0 [pix]
        average of structure centroids = ( 15.6, 16.2) [pixels]

Line Structure Features:

0:      no. lines = 3, no. endlines = 2
        total line length =  91.0, max. length of a segment =  42.0
        bounding box: (6,3),(29,32), area = 667
        centroid: ( 15.6, 16.2)

Copyright (C) 1999 MLMSoftware Group, LLC.